package com.love.marriage.defaultAmountConfigRecord.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.love.marriage.common.interfaces.permission.DataPermission;
import com.love.marriage.defaultAmountConfigRecord.entity.DefaultAmountConfigRecord;
import com.love.marriage.defaultAmountConfigRecord.vo.DefaultAmountConfigRecordVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * description:  默认金额配置操作记录表 mapper
 * author:       system
 * createDate:   2024-12-07
 * version:      1.0.0
 */
@Mapper
public interface DefaultAmountConfigRecordMapper extends BaseMapper<DefaultAmountConfigRecord> {

    @DataPermission(table = "default_amount_config_record_t")
    Page<DefaultAmountConfigRecordVo> getPage(Page<DefaultAmountConfigRecordVo> page, @Param("recordVo") DefaultAmountConfigRecordVo recordVo);

    DefaultAmountConfigRecordVo queryDefaultAmountConfigRecord(@Param("id") Long id);
}